package com.beordie.service;

import com.beordie.model.Category;
import com.beordie.model.Seller;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Description 分类服务层
 * @Date 2021/8/5 13:03
 * @Created 30500
 */
public interface ICategoryService {

    public PageInfo<Category> findPage(int pageNum, int pageSize);

    public List<Category> find();

    public int add(Category category);

    public Category findById(Integer id);

    public int update(Category category);

    public int delete(Integer id);
}
